package javabase.schoolwork.day6_6;

/**
 * @author fance
 * @date 18-6-6 下午3:27
 */
public class GenDemo11 {

    public static void main(String[] args) {
        Integer[] i = fun1(1,2,3);
        // 不建议用泛型数组
    }
    public static <T> T[] fun1(T... args) {
        return args;
    }
}

